package com.dayuan.bean;

public class Goods {
	// 商品表主键
	private Long id;
	// 商品名称
	private String goodsName;
	// 类目id
	private Integer goodsType;
	// 促销价格
	private Integer discountPrice;
	// 原价
	private Integer orgPrice;
	// 商家id
	private Integer merchantId;
	// 商品图片地址
	private String picUrl;

	public Long getId() {
		return id;
	}

	public void setId(Long id) {
		this.id = id;
	}

	public String getGoodsName() {
		return goodsName;
	}

	public void setGoodsName(String goodsName) {
		this.goodsName = goodsName;
	}

	public Integer getGoodsType() {
		return goodsType;
	}

	public void setGoodsType(Integer goodsType) {
		this.goodsType = goodsType;
	}

	public Integer getDiscountPrice() {
		return discountPrice;
	}

	public void setDiscountPrice(Integer discountPrice) {
		this.discountPrice = discountPrice;
	}

	public Integer getOrgPrice() {
		return orgPrice;
	}

	public void setOrgPrice(Integer orgPrice) {
		this.orgPrice = orgPrice;
	}

	public Integer getMerchantId() {
		return merchantId;
	}

	public void setMerchantId(Integer merchantId) {
		this.merchantId = merchantId;
	}

	public String getPicUrl() {
		return picUrl;
	}

	public void setPicUrl(String picUrl) {
		this.picUrl = picUrl;
	}
	
	public Goods() {
	}

	public Goods(String goodsName, Integer discountPrice, Integer orgPrice, Integer merchantId) {
		this.goodsName = goodsName;
		this.discountPrice = discountPrice;
		this.orgPrice = orgPrice;
		this.merchantId = merchantId;
	}

	public Goods(String goodsName, Integer discountPrice, Integer orgPrice, Integer merchantId, String picUrl) {
		this.goodsName = goodsName;
		this.discountPrice = discountPrice;
		this.orgPrice = orgPrice;
		this.merchantId = merchantId;
		this.picUrl = picUrl;
	}
	
	

}
